<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head></h:head> 



<body> 

<h:form>

	<h:outputText value="Numero 1:"></h:outputText>
	<h:inputText value="#{somaBean.soma.num1}" /><br />
	
	
	<h:outputText value="Numero 2:"></h:outputText>
	<h:inputText value="#{somaBean.soma.num2}" /><br /><br />
	
	<h:commandButton action="#{somaBean.somar}" value="Somar" />
	
	</h:form>
	
	<h:outputText value="Resultado :"></h:outputText>
	#{somaBean.soma.resultado}

</body> 
</html>
